package com.eeds.model.proclamation.req;

import com.eeds.common.model.ReqPageInfoVO;
import com.eeds.common.model.ReqUserId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改公告请求参数")
@EqualsAndHashCode(callSuper =false)
public class ReqUpdateProclamationVO extends ReqUserId {

    /**
     * 文件所属类型
     */
    @ApiModelProperty(value="文件所属类型")
    @NotNull(message = "文件所属类型不能为空")
    private Integer type;

    /**
     * 公告id
     */
    @ApiModelProperty(value = "公告id")
    @NotNull(message = "公告id不能为空")
    private Long idProclamation;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "文件id")
    private Long idxFiles;

    @ApiModelProperty(value = "公告类型")
    private Integer proclamationType;

}
